<?php
session_start();
include('class/Photo.class.php');
$id = $_POST['id'];
 
$photos = new Photo();
$result = $photos->get_photo($id);
echo $result;
?>